package com.by.mapper;

import com.by.bean.ProductInfo;
import com.by.crud.BaseMapper;
import com.by.query.ProductInfoQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * date 2025/2/20 16:26
 * author bjj
 * decoration
 * version 1.0
 * since jdk11
 */
@Mapper
public interface ProductInfoMapper extends BaseMapper<ProductInfo> {
    List<Map> query(ProductInfoQuery productInfoQuery);
    ProductInfo get(String id);
    String getMaxId(@Param("productType") int type, @Param("productCategory") int category);
}
